package com.zhou.gof.group.adapter.service.impl;

import com.zhou.gof.group.adapter.oracle.Oracle;
import com.zhou.gof.group.adapter.service.DBService;
import org.springframework.util.Assert;

/**
 * @author zhoudong
 * @title: DBServiceImpl
 * @projectName user-app
 * @description: TODO
 * @date 2019/5/29 18:09
 */
public class DBServiceImpl implements DBService {
    @Override
    public String readOracle(Oracle oracle) {
        Assert.notNull(oracle,"参数不可为空");
        return oracle.reader();
    }
}
